.class Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;
.super Ljava/lang/Object;
.source "MediaPickerActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;->A()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;->a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    new-instance p1, Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;->a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;

    .line 2
    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;->g(Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;)Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/picker/adapter/SelectableAdapter;->e()Ljava/util/List;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    .line 3
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_0

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;->a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;

    invoke-static {v0, p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;->a(Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;Ljava/util/List;)V

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;->a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    goto :goto_0

    .line 6
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity$e;->a:Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;->h(Lcom/esfile/screen/recorder/picture/picker/MediaPickerActivity;)I

    move-result p1

    if-nez p1, :cond_1

    .line 7
    sget p1, Les/z4;->durec_video_merge_enable:I

    invoke-static {p1}, Les/ec;->b(I)V

    goto :goto_0

    .line 8
    :cond_1
    sget p1, Les/z4;->durec_picture_stitch_enable:I

    invoke-static {p1}, Les/ec;->b(I)V

    :goto_0
    return-void
.end method
